﻿<UserControl x:Class="EQual.MainModule.Documents.DocumentsDetailViews.DocumentDetailedControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:local="clr-namespace:DataAccesLayer;assembly=DataAccesLayer"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="173" Width="395">
    <UserControl.Resources>
        <local:Document x:Key="Document" />
    </UserControl.Resources>
    
    <Grid Name="grid1" Height="281" Width="393">
        <Grid.RowDefinitions>
            <RowDefinition Height="176*" />
            <RowDefinition Height="105*" />
        </Grid.RowDefinitions>
        <Grid  Margin="0,0,12,24">
            <Grid.RowDefinitions>
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
      
                <RowDefinition Height="25" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="177"></ColumnDefinition>
                <ColumnDefinition Width="266*" />
            </Grid.ColumnDefinitions>

            <Label Margin="0,0,57,0" Height="25" VerticalAlignment="Top" Foreground="#FFF7F7F7">Document Number</Label>
            <Label Margin="0,0,65,0" Grid.Column="1" Background="#00F3EAEA" Foreground="#FFF5F2F2">Title</Label>
            <Label Grid.Row="2" Margin="0,0,57,0" Foreground="#FFF7F4F4">Document Type</Label>
            <Label Grid.Row="2" Margin="0,0,84,0" Grid.Column="1" Foreground="#FFFDF8F8">Atachment</Label>


            <TextBox Name="txtEmployeeNumber" Text="{Binding Path=Id}" Grid.Row="1" HorizontalAlignment="Left" Width="177"  TextChanged="txtEmployeeNumber_TextChanged" />
            <TextBox Grid.Row="1" Name="txtFirstName" Text="{Binding Title}" Grid.Column="1" />
            <TextBox Grid.Row="3" Name="txtLastName" Text="{Binding Type}" />
            <TextBox Grid.Row="3" Name="txtTitle" Text="{Binding Attachment}" Grid.Column="1" />
   
           <!-- <Button Grid.Row="4" Click="Button_Click" Grid.Column="1" HorizontalAlignment="Right" Width="54">Add</Button>-->
        </Grid>
    </Grid>
</UserControl>
